<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script src="./01-test.ts"></script>
    <!-- a的href中写了javascript:js代码; 表示把a标签的默认行为改为了点击a标签,则直接js代码 -->
    <a
      href="javascript:void;"
      >123213</a
    >
  </body>
</html>
